#!/usr/bin/env python
# encoding: utf-8
'''
Adb.RtdModel -- shortdesc

Adb.RtdModel is a description

It defines classes_and_methods

@author:     Anson Chan

@copyright:  2016 Xerland Co. Ltd. All rights reserved.

@contact:    anson_chan@xerland.com
@deffield    updated: Updated
'''

class RtdModel(object):
    '''
    classdocs
    '''


    def __init__(self, 
                 mRecordID, 
                 mMachID, 
                 mSaveTime, 
                 mSetTemp=0, 
                 mActTemp=0, 
                 mSetHumi=0, 
                 mActHumi=0, 
                 mSetAir=0,
                 mActAir=0,
                 mHeatOut=0,
                 mHumiOut=0,
                 mActTemp1=0,
                 mActTemp2=0,
                 mActTemp3=0,
                 mActHumi1=0,
                 mRemark=None,
                 mDeviceState=0,
                 mRunSwitch=0,
                 mRunProgramNo=0,
                 mCurCycNum=0,
                 mRunSegNo=0,
                 mSegRunTime=0,
                 mCurCycNo=0,
                 mRunTime=0):
        '''
        Constructor
        '''
        self.mRecordID =  mRecordID
        self.mMachID = mMachID
        self.mSaveTime = mSaveTime
        self.mSetTemp = mSetTemp
        self.mActTemp = mActTemp
        self.mSetHumi = mSetHumi
        self.mActHumi = mActHumi
        self.mSetAir = mSetAir
        self.mActAir = mActAir
        self.mHeatOut = mHeatOut
        self.mHumiOut = mHumiOut
        self.mActTemp1 = mActTemp1
        self.mActTemp2 = mActTemp2
        self.mActTemp3 = mActTemp3
        self.mActHumi1 = mActHumi1
        self.mRemark = mRemark
        self.mDeviceState = mDeviceState
        self.mRunSwitch = mRunSwitch
        self.mRunProgramNo = mRunProgramNo
        self.mCurCycNum = mCurCycNum
        self.mRunSegNo = mRunSegNo
        self.mSegRunTime = mSegRunTime
        self.mCurCycNo = mCurCycNo
        self.mRunTime = mRunTime
        
    def getRecordID(self):
        return self.mRecordID
    
    def getMachID(self):
        return self.mMachID
    
    def getSaveTime(self):
        return self.mSaveTime
    
    
if __name__ == '__main__':
    rtd = RtdModel(1,1,0)
    print("RtdModel.__module__"+RtdModel.__module__)
    
        
        
        